/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package appagenda;

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.*;
import rmsdao.EventoDAO;
import rmsdao.UsuarioDAO;


/**
 * @author luis
 */

public class Agenda extends MIDlet {

    public UsuarioDAO userDAO;
    public EventoDAO evtDAO;
    
    public void startApp() {
        Display display = Display.getDisplay(this);
        FrmLogin frmLogin = new FrmLogin("Login", this);
        display.setCurrent(frmLogin);
        
        userDAO = new UsuarioDAO();
        evtDAO = new EventoDAO();
            
        //userDAO.open();
        //evtDAO.open();
        
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
    }
    
}
